Package-level declarations

Material 3-style components that aren't included in Google's official library, designed to be consistent with those components.

Properties

Link copied to clipboard

A padding modifier used in the setup elements.

Functions

Link copied to clipboard
fun MainSwitch(title: String, checked: Boolean, onCheckedChange: (Boolean) -> Unit?)
Link copied to clipboard
fun Tip(text: String, modifier: Modifier, icon: Int, onClick: () -> Unit? = null)

A tip - a round surface with an icon and text.

Link copied to clipboard
fun TwoButtons(positiveAction: () -> Unit, positiveText: String, negativeAction: () -> Unit?, negativeText: String = stringResource(R.string.btn_back), showNegative: Boolean = true, disablePositive: Boolean = false)

A negative (outlined, on the left) and positive (filled, on the right) button. Useful in setup wizards.

Link copied to clipboard
fun TwoButtonsRaw(positiveAction: () -> Unit, positiveText: String, negativeAction: () -> Unit?, negativeText: String = stringResource(R.string.btn_back), showNegative: Boolean = true, disablePositive: Boolean = false, modifier: Modifier = Modifier)